<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
.style1 {font-size: 36px}
-->
</style>
<style type="text/css">
<!--
.style1 {font-size: 36px}
.style3 {font-size: 14px}
body {
	background-color: #C8E0E1;
}
-->
</style>
</head>

<body>
 <p align="center">&nbsp;</p>
 <p align="center" class="style1">Data Base Population</p>
 <table width="100%" border="1" align="center">
   <tr>
     <th scope="col">Table Name </th>
     <th scope="col">Source</th>
     <th scope="col">Physical Name </th>
     <th scope="col">Contents</th>
     <th scope="col">Length</th>
     <th scope="col">Description</th>
     <th scope="col">&nbsp;</th>
     <th scope="col">&nbsp;</th>
     <th scope="col">&nbsp;</th>
     <th scope="col">&nbsp;</th>
   </tr>
   <?php
   $link=mysql_connect('localhost','root','root') or die('fault in connection');
   $result=mysql_db_query("cardescription","select * from tables");
   while($row=mysql_fetch_array($result)) {
   echo"<tr>";
   echo"<td align=center>". $row[name]."</td>";
   echo"<td align=center>". $row[source]."</td>";
   echo"<td align=center>". $row[physicalName]."</td>";
   echo"<td align=center>". $row[contents]."</td>";
   echo"<td align=center>". $row[length]."</td>";
   echo"<td align=center>"."&nbsp;". $row[description]."</td>";
   echo" <td><a href=edit_table.php?t_id=".$row[ID]."&Act=0".">Edit</a></td>";
   echo" <td><a href=View_table.php?t_id=".$row[ID]."&Act=1".">View</a></td>";
   echo" <td><a href=CSV.php?t_id=".$row[ID].">CSV</a></td>";
   echo" <td><a href=Delete_table.php?t_id=".$row[ID].">Delete</a></td>";
   echo"</tr>";
   }
    ?>
 </table>
 <p align="center"><a href="add_table.html">ADD NEW TABLE </a></p>
</body>
</html>
